<h1>New Product</h1>
<script type="text/javascript">
<!--
$(function(){
	/*
	function isAllday(){
		if("<?= $allDay?>" != "null"){
			return true;
		}
		return false;
	}

	 */
    function isDeadLine(){
		if("<?= $dead?>" != "null"){
			return true;
		}
		return false;
    }
	var now = new Date();
	var start = new Date("<?= $start ?>");
	$("#product_date").val(start.format("yyyy-mm-dd"));

	$("#product_deadline_date").val(now.format("yyyy-mm-dd"));


	$("#product_user_gmail_acount").val("<?= $email ?>");
	$("#product_user_gmail_password").val("");

});
//-->
</script>

<?php include_partial('form', array('form' => $form)) ?>
